// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import com.fowo.api.sys.entity.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.List;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * SupplierSet
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "supplier_set", autoResultMap = true)
@Schema(title = "供应商设置")
public class SupplierSet implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 供应商级别
   */
  @TableField(value = "`grade`")
  @Schema(title = "供应商级别")
  private String grade;

  /**
   * 状态
   */
  @TableField(value = "`status`")
  @Schema(title = "状态")
  private String status;

  /**
   * 显示字段
   */
  @TableField(value = "`display_fields`")
  @Schema(title = "显示字段")
  private String displayFields;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 开发任务最大上传图片数
   */
  @TableField(value = "`task_max_image`")
  @Schema(title = "开发任务最大上传图片数")
  private Integer taskMaxImage;

  /**
   * 显示水印定位
   */
  @TableField(value = "`watermark_localization`")
  @Schema(title = "显示水印定位")
  private String watermarkLocalization;

  /**
   * 显示水印时间
   */
  @TableField(value = "`watermark_time`")
  @Schema(title = "显示水印时间")
  private String watermarkTime;

  /**
   * 显示水印员工号
   */
  @TableField(value = "`watermark_job_no`")
  @Schema(title = "显示水印员工号")
  private String watermarkJobNo;

  /**
   * 显示水印员工姓名
   */
  @TableField(value = "`watermark_job_name`")
  @Schema(title = "显示水印员工姓名")
  private String watermarkJobName;

  /**
   * 系统评估占比（默认50%）
   */
  @TableField(value = "`system_review_percent`")
  @Schema(title = "系统评估占比（默认50%）")
  private Integer systemReviewPercent;

  /**
   * 人工评分占比（默认50%）
   */
  @TableField(value = "`people_review_percent`")
  @Schema(title = "人工评分占比（默认50%）")
  private Integer peopleReviewPercent;

  /**
   * 订单量
   */
  @TableField(value = "`patrol_order_quantity`")
  @Schema(title = "订单量")
  private Integer patrolOrderQuantity;

  /**
   * 次数
   */
  @TableField(value = "`patrol_number`")
  @Schema(title = "次数")
  private Integer patrolNumber;

  /**
   * 巡场人
   */
  @TableField(value = "`to_user`", typeHandler = JacksonTypeHandler.class)
  @JoinField(SysUser.class)
  @Schema(title = "巡场人")
  private List<Long> toUser;
}
